<?php

class mailHandler {

	public static function sendMessage($addr, $subject, $body){
	
		$headers  = 'MIME-Version: 1.0' . "\r\n";
		$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
		
		$headers .= "From: " . SYS_MAIL_FROM;
	
		//echo "Sending an email to $addr from " . SYS_MAIL_FROM . " with subject $subject and body $body";
		mail($addr, $subject, $body, $headers);	
	}

}


?>